package com.cq.hd.member.mapper;

import com.cq.hd.member.api.dto.BusinessEnterApplyDto;
import com.cq.hd.member.api.dto.BusinessEnterApplyPageDto;
import com.cq.hd.member.api.dto.BusinessEnterApplyQueryDto;
import com.cq.hd.member.api.vo.BusinessEnterApplyPageVo;
import com.cq.hd.member.api.vo.BusinessEnterApplyVo;
import com.cq.hd.member.po.TbBusinessEnterApplyPo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商家入驻申请记录表 Mapper 接口
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-21
 */
@Mapper
public interface TbBusinessEnterApplyMapper extends BaseMapper<TbBusinessEnterApplyPo> {

    List<BusinessEnterApplyPageVo> listBusinessEnterApplyByDto(BusinessEnterApplyPageDto businessEnterApplyPageDto);

    List<BusinessEnterApplyPageVo> listByApplyNoAndHfId(@Param("hfApplyNo") String hfApplyNo, @Param("hfMerchantNo") String hfMerchantNo);

    List<BusinessEnterApplyPageVo> listByHfId(@Param("hfMerchantNo") String hfMerchantNo);

    List<BusinessEnterApplyPageVo> listByDto(BusinessEnterApplyQueryDto businessEnterApplyQueryDto);

}
